package	com.mes.entity.menu;

import java.util.List;

import com.mes.utils.PageBean;

/**
 *
 *@ClassName: Menu
 *@Description: 菜单表
 *@Author tdd
 *@Date 2019-02-12 15:31:00
 *@version 1.0
*/
public class Menu extends PageBean{
	/** id*/
	private Long mid;
	/** 标题*/
	private String title;
	/** 图片*/
	private String icon;
	/** 路径*/
	private String href;
	/** 等级*/
	private String grade;
	/** 父级id*/
	private String pid;
	/** 类型*/
	private String type;
	/** 排序*/
	private String sort;
	/** 预留*/
	private String mfield;
	/** 预留*/
	private String mfield1;
	/** 预留*/
	private String mfield2;
	/** 预留*/
	private String mfield3;
	/** 预留*/
	private String mfield4;
	/** 预留*/
	private String mfield5;
	/** 预留*/
	private String mfield6;
	/** 预留*/
	private String mfield7;
	/** 预留*/
	private String mfield8;
	/** 预留*/
	private String mfield9;
	
	private List<Menu> children;
	public List<Menu> getChildren() {
		return children;
	}
	public void setChildren(List<Menu> children) {
		this.children = children;
	}
	public void setMid(Long mid){
		this.mid = mid;
	}
	public Long getMid(){
		return mid;
	}
	public void setTitle(String title){
		this.title = title== null ? null : title.trim();
	}
	public String getTitle(){
		return title;
	}
	public void setIcon(String icon){
		this.icon = icon== null ? null : icon.trim();
	}
	public String getIcon(){
		return icon;
	}
	public void setHref(String href){
		this.href = href== null ? null : href.trim();
	}
	public String getHref(){
		return href;
	}
	public void setGrade(String grade){
		this.grade = grade== null ? null : grade.trim();
	}
	public String getGrade(){
		return grade;
	}
	public void setPid(String pid){
		this.pid = pid== null ? null : pid.trim();
	}
	public String getPid(){
		return pid;
	}
	public void setType(String type){
		this.type = type== null ? null : type.trim();
	}
	public String getType(){
		return type;
	}
	public void setSort(String sort){
		this.sort = sort== null ? null : sort.trim();
	}
	public String getSort(){
		return sort;
	}
	public void setMfield(String mfield){
		this.mfield = mfield== null ? null : mfield.trim();
	}
	public String getMfield(){
		return mfield;
	}
	public void setMfield1(String mfield1){
		this.mfield1 = mfield1== null ? null : mfield1.trim();
	}
	public String getMfield1(){
		return mfield1;
	}
	public void setMfield2(String mfield2){
		this.mfield2 = mfield2== null ? null : mfield2.trim();
	}
	public String getMfield2(){
		return mfield2;
	}
	public void setMfield3(String mfield3){
		this.mfield3 = mfield3== null ? null : mfield3.trim();
	}
	public String getMfield3(){
		return mfield3;
	}
	public void setMfield4(String mfield4){
		this.mfield4 = mfield4== null ? null : mfield4.trim();
	}
	public String getMfield4(){
		return mfield4;
	}
	public void setMfield5(String mfield5){
		this.mfield5 = mfield5== null ? null : mfield5.trim();
	}
	public String getMfield5(){
		return mfield5;
	}
	public void setMfield6(String mfield6){
		this.mfield6 = mfield6== null ? null : mfield6.trim();
	}
	public String getMfield6(){
		return mfield6;
	}
	public void setMfield7(String mfield7){
		this.mfield7 = mfield7== null ? null : mfield7.trim();
	}
	public String getMfield7(){
		return mfield7;
	}
	public void setMfield8(String mfield8){
		this.mfield8 = mfield8== null ? null : mfield8.trim();
	}
	public String getMfield8(){
		return mfield8;
	}
	public void setMfield9(String mfield9){
		this.mfield9 = mfield9== null ? null : mfield9.trim();
	}
	public String getMfield9(){
		return mfield9;
	}
}
